#ifndef GAMEMANAGER_H
#define GAMEMANAGER_H


#include "LevelManager.h"
#include "ObjectManager.h"


class GameManager
{
public:



    static GameManager* getInstance();
    virtual ~GameManager();


    void init();
    void update(double timeSinceLastFrame);
    void clear();

    LevelManager* getLevelMgrPtr(){return &m_levelManager;}
    ObjectManager* getObjectMgrPtr(){return &m_objectManager;}





protected:
private:



    GameManager();
    LevelManager m_levelManager;
    ObjectManager m_objectManager;
    bool m_isInitialized;
};


    static GameManager* GameManagerInstance=0;

#endif // GAMEMANAGER_H
